from django.conf import settings

# 注册app
app = 'plugins.gc_pms_backend'
if app not in settings.INSTALLED_APPS:
    settings.INSTALLED_APPS += [app]

if getattr(settings, 'PLUGINS_LIST', {}).get('dvadmin_tenant_backend', None):
    settings.SHARED_APPS = [
                               'plugins.gc_pms_backend',
                           ] + list(getattr(settings, 'SHARED_APPS', []))
